home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
64'er
/
64ER_CD.iso
/
86xx
/
8602.d64
/
schreiberl. 802
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
1995-03-30
|
9KB
|
241 lines
100 REM -- SCHREIBERLING
101 REM -- GEAENDERT FUER
102 REM -- DRUCKER MPS 802
103 :
145 POKE53281,14:POKE53280,14:POKE646,6
150 PRINT"[147]","** BITTE WARTEN **"
160 DIMA1$(72),A2$(72),A3$(72)
162 FORI=1TO16:Q$=Q$+CHR$(0):NEXTI
163 FORI=1TO23:O$=O$+CHR$(0):NEXTI
164 FORI=1TO8:Q1$=Q1$+CHR$(0):NEXTI
165 FORI=1TO80:L$=L$+" ":NEXTI
170 :
171 REM -- ZEILENVORSCHUB EINSTELLEN --
172 :
175 OPEN6,4,6:PRINT#6,CHR$(21):CLOSE6
180 :
200 :
220 RESTORE
230 FORI=1TO72
240 FORJ=1TO3
245 : READX
250 : IFX=-1THEN280
260 : IFJ=1THENA1$(I)=A1$(I)+CHR$(X)
265 : IFJ=2THENA2$(I)=A2$(I)+CHR$(X)
267 : IFJ=3THENA3$(I)=A3$(I)+CHR$(X)
270 :GOTO245
280 NEXTJ
282 IFLEN(A3$(I))=0THEN A3$(I)=LEFT$(O$,LEN(A1$(I)))
285 NEXTI
300 :
320 PRINTCHR$(147);CHR$(14);CHR$(18);".....EINE.ZEILE.EINGEBEN:.............";
325 PRINTCHR$(146)
330 GETT$:PRINTT$;
340 IFT$=CHR$(13)THEN410
350 GOTO330
400 :
410 OPEN1,4:OPEN5,4,5
411 Y=50:P=0
414 REM -- ZEILE LOESCHEN --
415 REM -- ZEILE LOESCHEN --
417 REM -- ZEILE LOESCHEN --
418 FORJ=1TO3
420 : HH$="":H=0
421 : REM -- ZEILE LOESCHEN --
422 : FORI=1064+PTO1064+Y
425 : W=PEEK(I)
430 : IFW=32ORW=96THENH$=Q1$:GOTO650
440 : IFW=63THENF=-17:GOTO600
450 : IFW=40ORW=41THENF=4:GOTO600
460 : IFW=33THENF=10:GOTO600
470 : IFW>64ANDW<91THENF=-64:GOTO600
475 : IFW>0ANDW<27THENF=46:GOTO600
480 : IFW>43ANDW<60THENF=-17:GOTO600
550 : NEXTI:GOSUB750:IFJ<3THENPRINT#1
560 NEXTJ
570 PRINT#1:CLOSE1:CLOSE5:GOTO320
590 :
591 REM -- DEFINITION DER DRUCKZEILE --
592 :
600 IFJ=1THENH$=A1$(W+F)
605 IFJ=2THENH$=A2$(W+F)
610 IFJ=3THENH$=A3$(W+F)
650 HH$=HH$+H$
660 IFLEN(HH$)>200THEN700
665 GOTO550
690 :
691 REM --DRUCKROUTINE 2 --
692 :
700 FORK=1TO200STEP8
705 : IFMID$(HH$,K,8)=Q1$THEN725
710 : PRINT#5,MID$(HH$,K,8)
715 : PRINT#1,LEFT$(L$,H)CHR$(254)CHR$(141);
725 : H=H+1
730 NEXTK
735 HH$=RIGHT$(HH$,(LEN(HH$)-200))
740 GOTO550
745 :
746 REM --DRUCKROUTINE 1 --
747 :
750 HH$=HH$+Q1$
751 FORK=1TOLEN(HH$)-8 STEP8
755 : IFMID$(HH$,K,8)=Q1$THEN765
760 : PRINT#5,MID$(HH$,K,8)
762 : PRINT#1,LEFT$(L$,H)CHR$(254)CHR$(141);
765 : H=H+1
770 NEXTK
775 RETURN
800 :
900 REM -- ZEILE 900-940 LOESCHEN --
1000 :
1010 DATA0,32,65,198,200,240,252,127,31,1,0,0,0,0,0,0,-1
1020 DATA0,62,255,3,3,2,4,200,248,254,31,3,1,2,4,0,-1,-1
1030 DATA0,128,255,255,255,131,131,131,131,131,131,68,124,56,0,-1
1040 DATA0,1,255,255,255,1,1,1,1,1,1,130,254,124,0,-1,-1
1050 DATA0,7,31,63,112,192,128,128,128,128,128,128,64,120,56,0,-1
1060 DATA0,224,248,252,14,3,1,1,1,1,1,1,2,30,28,0,-1,-1
1070 DATA0,128,255,255,255,128,128,128,128,128,64,112,63,31,15,0,-1
1080 DATA0,1,255,255,255,1,1,1,1,1,2,14,252,248,240,0,-1,-1
1090 DATA0,7,31,63,114,194,130,130,131,131,131,131,66,112,48,0,-1
1100 DATA0,224,248,252,14,3,1,1,1,1,129,1,2,14,12,0,-1,-1
1110 DATA0,128,255,255,255,66,66,130,130,131,131,131,131,98,96,0,-1
1120 DATA0,0,255,255,255,0,0,0,0,0,0,128,0,0,0,0,-1
1130 DATA4,8,248,240,192,0,0,0,0,0,0,0,0,0,0,0,-1
1140 DATA0,7,15,63,112,192,128,128,128,128,194,99,99,3,2,0,-1
1150 DATA0,248,252,254,7,3,1,1,2,4,8,255,255,255,0,0,-1
1160 DATA0,0,0,0,0,0,0,0,0,4,8,248,240,192,0,0,-1
1170 DATA0,128,255,255,255,2,4,8,8,16,16,24,31,15,3,0,-1
1180 DATA0,0,255,255,255,0,0,0,0,0,3,15,255,249,225,0,-1,-1
1190 DATA0,128,255,255,255,0,0,-1
1200 DATA0,0,255,255,255,1,0,-1,-1
1210 DATA0,0,128,255,255,255,0,-1
1220 DATA0,0,0,255,255,255,0,-1
1230 DATA0,4,8,248,240,192,0,-1
1240 DATA0,128,255,255,255,3,3,6,4,12,56,240,224,0,0,0,-1
1250 DATA0,1,255,255,255,0,192,240,124,30,3,1,1,1,6,0,-1,-1
1260 DATA0,128,255,255,255,0,0,0,0,0,0,0,0,0,0,0,-1
1270 DATA0,1,255,255,255,1,1,1,1,1,1,1,1,3,7,0,-1,-1
1280 DATA0,7,31,56,96,192,128,128,128,128,127,63,127,128,128,128,128
1290 DATA192,96,56,31,7,0,-1
1300 DATA0,192,248,62,7,1,1,0,0,0,255,255,255,0,0,0,1,1,7,62,248,192,0,-1,-1
1310 DATA0,128,255,255,255,63,3,0,0,0,0,128,255,255,0,0,-1
1320 DATA0,0,255,255,255,0,224,240,56,12,6,2,255,255,1,0,-1
1330 DATA4,8,248,240,192,0,0,0,0,0,0,0,0,0,0,0,-1
1340 DATA0,7,31,63,96,64,128,128,128,128,64,96,63,31,7,0,-1
1350 DATA0,224,248,252,6,2,1,1,1,1,2,6,252,248,224,0,-1,-1
1360 DATA0,128,255,255,255,48,112,192,128,128,128,192,96,63,31,0,-1
1370 DATA0,0,255,255,255,12,14,3,1,1,1,3,6,252,248,0,-1
1380 DATA0,0,252,252,252,4,0,0,0,0,0,0,0,0,0,0,-1
1390 DATA0,15,63,127,192,128,128,128,128,128,64,96,63,63,63,64,0,-1
1400 DATA0,240,252,254,3,1,1,1,1,1,14,12,255,255,255,0,0,-1
1410 DATA0,0,0,0,0,0,0,0,0,0,0,4,252,248,248,0,0,-1
1420 DATA0,128,255,255,255,129,129,129,129,129,195,126,60,0,0,0,-1
1430 DATA0,1,255,255,255,0,128,192,96,56,30,7,3,3,2,0,-1,-1
1440 DATA0,30,63,127,199,131,131,131,131,131,131,131,195,113,48,0,-1
1450 DATA0,28,30,3,129,129,129,129,129,129,131,199,254,252,248,0,-1,-1
1460 DATA0,32,96,192,128,128,255,255,255,128,128,128,128,128,0,-1
1470 DATA0,0,0,0,0,0,255,255,255,1,0,0,0,0,0,-1,-1
1480 DATA0,7,159,255,128,128,0,0,0,0,128,255,255,255,0,0,-1
1490 DATA0,248,252,254,1,1,1,1,2,4,8,255,255,255,1,0,-1,-1
1500 DATA0,96,192,224,252,127,31,3,0,0,0,0,7,216,224,0,-1
1510 DATA0,0,0,0,0,0,224,248,255,15,48,192,0,0,0,0,-1,-1
1520 DATA0,3,15,191,192,128,0,0,3,15,191,192,128,0,0,0,0,128,255,255
1530 DATA255,0,0,-1
1540 DATA0,248,254,254,3,1,1,1,250,254,254,3,1,1,1,2,2,4,255,255,255,1,0,-1,-1
1550 DATA0,32,64,192,240,252,63,15,3,4,8,16,224,192,0,0,-1
1560 DATA0,7,11,16,32,64,128,192,240,252,62,15,3,1,6,0,-1,-1
1570 DATA0,96,192,224,252,127,31,3,0,0,0,0,7,216,224,0,-1
1580 DATA0,0,0,0,0,0,224,248,255,14,48,192,0,0,0,0,-1
1590 DATA0,0,0,0,12,28,24,96,128,0,0,0,0,0,0,0,-1
1600 DATA0,128,192,192,224,128,128,129,131,143,158,188,240,224,192,0,-1
1610 DATA0,3,7,15,29,121,241,225,129,1,1,7,3,3,1,0,-1,-1
1614 DATA0,0,0,0,0,-1,0,0,3,3,0,-1,0,48,192,0,0,-1
1615 DATA0,0,1,1,1,1,1,1,1,1,1,1,0,0,-1
1616 DATA0,0,128,128,128,128,128,128,128,128,128,128,0,0,-1,-1
1617 DATA0,0,0,0,0,0,-1,0,0,3,3,0,0,-1,-1
1618 DATA0,0,0,0,0,0,3,12,48,192,0,0,-1
1619 DATA0,0,3,12,48,192,0,0,0,0,0,0,-1,-1
1620 DATA0,0,3,12,16,32,32,32,48,56,15,0,0,-1
1630 DATA0,240,252,14,3,1,1,1,2,12,240,0,0,-1,-1
1640 DATA0,16,31,63,63,0,0,-1
1650 DATA0,0,255,255,254,2,0,-1,-1
1660 DATA0,8,16,32,32,32,48,31,15,0,0,0,0,0,-1
1670 DATA0,1,3,7,15,29,249,225,193,1,1,3,2,0,-1
1680 DATA0,0,0,128,128,128,128,128,128,128,0,0,0,0,-1
1690 DATA0,16,32,33,51,62,28,0,0,-1
1700 DATA0,64,128,128,128,255,254,56,0,-1
1710 DATA0,16,32,64,128,128,0,0,0,-1
1720 DATA0,0,0,0,1,2,4,15,31,63,0,0,0,0,-1
1730 DATA0,32,96,160,32,32,32,255,255,254,32,32,32,0,-1,-1
1740 DATA0,1,7,59,51,19,19,19,17,16,0,-1
1750 DATA0,128,0,0,0,0,131,252,240,0,0,-1
1760 DATA0,8,16,32,64,128,0,0,0,0,0,-1
1770 DATA0,3,15,18,36,68,76,140,12,7,3,0,-1
1780 DATA0,248,254,7,1,1,1,1,1,6,248,0,-1,-1
1790 DATA0,48,48,24,24,24,17,22,56,32,0,-1
1800 DATA0,0,1,15,30,112,128,0,0,0,0,-1
1810 DATA0,48,240,192,0,0,0,0,0,0,0,-1
1820 DATA0,0,121,135,131,131,133,121,0,0,-1
1830 DATA0,124,194,129,1,1,129,226,124,0,-1,-1
1840 DATA0,0,3,4,4,8,8,12,6,7,1,0,-1
1850 DATA0,248,252,6,3,1,1,2,2,229,254,0,-1
1860 DATA0,0,0,0,0,8,16,32,64,128,0,0,-1
1870 DATA0,0,3,3,0,0,-1,0,0,3,3,0,0,-1,-1
1880 DATA0,0,0,0,0,0,-1,0,0,51,51,0,0,-1,0,48,192,0,0,0,-1
1910 DATA0,0,127,255,254,0,0,-1,0,0,243,243,0,0,0,-1,-1
1920 DATA0,31,63,64,128,0,-1,0,248,252,2,1,0,-1,-1
1930 DATA0,128,64,63,31,0,-1,0,1,2,252,248,0,-1,-1
1940 DATA0,48,112,192,129,135,252,120,0,-1
1950 DATA0,0,0,115,243,0,0,0,0,-1,-1
1960 DATA0,0,1,3,2,2,2,1,0,1,3,2,0,0,-1
1970 DATA0,252,254,3,1,1,1,1,130,254,255,1,2,0,-1,-1
1980 DATA0,64,255,255,0,1,2,2,2,2,1,1,0,-1
1990 DATA0,0,252,254,193,193,1,1,1,2,254,252,0,-1,-1
2000 DATA0,0,1,3,2,2,2,2,1,1,0,-1,0,252,254,3,1,1,1,1,2,4,0,-1,-1
2010 DATA0,0,0,1,2,2,2,1,128,255,255,0,0,0,-1
2020 DATA0,124,254,3,1,1,1,2,132,254,255,1,2,0,-1,-1
2030 DATA0,0,1,3,2,2,2,2,1,0,0,-1
2040 DATA0,252,254,35,33,33,33,33,161,98,0,-1,-1
2050 DATA0,15,63,114,130,131,131,128,96,32,0,-1
2060 DATA0,255,255,0,0,0,0,0,0,0,0,-1,0,252,252,4,0,0,0,0,0,0,0,-1
2070 DATA0,0,0,1,2,2,2,1,1,1,1,1,0,-1
2080 DATA0,124,254,131,1,1,1,130,132,191,127,128,0,-1
2090 DATA0,56,52,4,4,4,4,8,16,240,224,0,0,-1
2100 DATA0,128,255,255,1,2,2,2,1,1,0,0,0,0,-1
2110 DATA0,0,255,255,0,0,0,0,0,254,255,1,2,0,-1,-1
2120 DATA0,2,51,51,0,0,0,-1,0,0,254,255,1,2,0,-1,-1
2130 DATA0,2,51,51,0,-1,0,0,255,255,0,-1,4,8,240,224,0,-1
2140 DATA0,128,255,255,0,0,0,3,3,0,0,0,-1
2150 DATA0,0,255,255,32,88,76,134,3,1,2,0,-1,-1
2160 DATA0,128,255,255,0,0,0,-1,0,0,254,255,1,2,0,-1,-1
2170 DATA0,1,2,3,1,1,2,3,1,1,2,3,1,0,0,0,-1
2180 DATA0,0,0,255,255,0,0,255,255,0,0,254,255,1,2,0,-1,-1
2190 DATA0,1,2,3,1,1,2,3,1,0,0,0,-1
2200 DATA0,0,0,255,255,0,0,254,255,1,2,0,-1,-1
2210 DATA0,0,1,1,2,2,2,2,3,1,0,0,-1
2220 DATA0,252,254,3,1,1,1,1,1,254,252,0,-1,-1
2230 DATA0,1,2,3,1,0,1,2,2,2,3,1,0,0,-1
2240 DATA0,0,0,255,255,132,2,1,1,1,3,254,252,0,-1
2250 DATA0,0,0,252,252,4,0,0,0,0,0,0,0,0,-1
2260 DATA0,0,0,1,2,2,2,1,1,1,1,1,0,-1
2270 DATA0,124,254,131,1,1,1,130,132,191,127,128,0,-1
2280 DATA0,0,0,0,0,0,0,0,0,252,252,4,0,-1
2290 DATA0,1,2,3,1,2,3,1,1,0,-1,0,0,0,255,255,0,0,128,0,0,-1,-1
2300 DATA0,0,1,3,2,2,2,2,3,1,0,0,-1
2310 DATA0,198,247,49,49,49,49,49,179,159,12,0,-1,-1
2320 DATA0,4,12,255,255,4,4,4,0,-1
2330 DATA0,0,0,254,255,1,2,0,0,-1,-1
2340 DATA0,2,3,3,0,0,0,2,3,3,0,0,0,-1
2350 DATA0,0,254,255,1,1,1,2,254,255,1,2,0,-1,-1
2360 DATA0,1,2,3,3,1,0,0,0,0,0,3,3,0,-1
2370 DATA0,0,0,0,128,224,120,30,7,12,48,192,0,0,-1,-1
2380 DATA0,2,3,3,0,0,3,3,0,0,3,3,0,-1
2390 DATA0,0,254,255,1,2,254,255,1,2,254,252,0,-1,-1
2400 DATA0,2,3,3,2,0,0,0,0,3,2,0,0,-1
2410 DATA0,1,3,132,232,112,56,92,134,3,1,2,0,-1,-1
2420 DATA0,1,2,3,3,1,0,0,0,0,0,3,3,0,-1
2430 DATA0,0,0,0,128,224,120,30,7,12,48,192,0,0,-1
2440 DATA0,0,0,24,28,12,48,192,0,0,0,0,0,0,-1
2450 DATA0,3,3,2,2,2,2,2,3,3,2,0,-1
2460 DATA0,1,3,7,13,57,113,193,129,3,3,0,-1,-1